holybible.view.View = Class.extend({
	init: function() {
		this.container = null;
		this.isDrawn = false;
	},
	destroy: function() {
		if (this.container) {
			this.container.innerHTML = "";
			this.container = null;
		}
	},
	setEvent: function() {},
	clearEvent: function() {},
	draw: function() {
		this.isDrawn = true;
	},
	show: function(param) {
		if (!this.isDrawn) {
			this.draw(param);
		}
		$(this.container).show();
	},
	hide: function() {
		$(this.container).hide();
	},
	makeHtml: function(template, param) {
		template = template || "";
		param = param || null;
		
		var trimpath = TrimPath.parseTemplate(template);
		var html = trimpath.process(param);
		return html;
	}
});
